#include "mainwindow.h"
#include "dialog.h"
#include <QApplication>
#include <qDebug>
//#include "usr_info.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    Dialog Login_dialog;

    if(!Login_dialog.exec())
        return 0;

    MainWindow w(Login_dialog);

    w.show();

    return a.exec();
}
